package fachadaSonido.actions;

import java.util.List;

import multimedia.IMultimediaDAO;
import multimedia.MultimediaDAOFactory;
import multimedia.MultimediaTO;

public class ListarSonidosAction {

	public ListarSonidosAction() {
	}

	public Object Execute() {
		try {
			IMultimediaDAO multimediaDAO = MultimediaDAOFactory.GetDAO();
			return (List<MultimediaTO>) multimediaDAO.buscarMultimedia(null,"sonido");

		} catch (Exception e) {
			return null;
		}
	}

}
